﻿using System;
using System.Collections.Generic;
using System.Text;

namespace System.Peppers.ShellExtensions
{
    /// <summary>
    /// Attribute defining a Windows shell extension
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public sealed class ShellExtensionAttribute : Attribute
    {
        /// <summary>
        /// Display name of your shell extension, normally placed in registry
        /// </summary>
        public string Name
        {
            get;
            set;
        }

        /// <summary>
        /// Depending on the type of Shell Extension, this is extended data
        /// 1. ContextMenuBase -> list of HKCU keys, use FileExtensions class for some defaults
        /// </summary>
        public string[] Data
        {
            get;
            set;
        }
    }
}
